package com.domor.dao.system;

import com.domor.model.Menu;
import com.domor.model.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SystemDao {

    User getUserByName(String username);

    List<Menu> getMenusByRole(int roleId);
    List<String> getButtonsByRole(int roleId);

}
